package com.uchiha.nova.mainService.wrapper;

import com.uchiha.nova.core.model.entity.WebServiceEntity;
import com.uchiha.nova.core.model.vo.WebServiceVO;
import com.uchiha.nova.core.tool.support.BaseEntityWrapper;
import com.uchiha.nova.core.tool.util.BeanUtil;

/**
 * controller和web的分组表 包装类,返回视图层所需的字段
 *
 * @author Chill
 */
public class WebServiceWrapper extends BaseEntityWrapper<WebServiceEntity, WebServiceVO>  {

	public static WebServiceWrapper build() {
		return new WebServiceWrapper();
 	}

	@Override
	public WebServiceVO entityVO(WebServiceEntity webService) {
		WebServiceVO webServiceVO = BeanUtil.copy(webService, WebServiceVO.class);
		return webServiceVO;
	}

}
